package com.lap.auth.domain.menu.valueobject;

import com.lap.framework.common.enums.BaseEnum;
import lombok.Getter;

@Getter
public enum MenuType implements BaseEnum<Integer> {
  MENU(0, "菜单", true),
  IFRAME(1, "Iframe", false),
  LINK(2, "外链", false),
  FUNCTION(3, "按钮", false),
  DIR(4, "目录", true),
  ;

  private final Integer code;
  private final String labelZh;
  private final boolean container;

  MenuType(Integer code, String labelZh, boolean container) {
    this.code = code;
    this.labelZh = labelZh;
    this.container = container;
  }
}
